package com.jy.adscm.operation.base.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zyl
 * @Date 2020/5/26 -15:20
 */
public class QueryTaskWorkPlan {
    //当前页
    private  Integer currentPage;
    //页面大小
    private  Integer pageSize;
    //创建人
    private  String  creator;
    //状态
    private  Integer state;
    /*计划开始*/
    private Date planStartTime;
    /**
     * 计划结束时间
     */
    private Date planEndTime;
    //部门id
    private  Integer deptId;

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    public Date getPlanStartTime() {
        return planStartTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd")
    public void setPlanStartTime(Date planStartTime) {
        this.planStartTime = planStartTime;
    }
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    public Date getPlanEndTime() {
        return planEndTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd")
    public void setPlanEndTime(Date planEndTime) {
        this.planEndTime = planEndTime;
    }
    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }
}
